package com.model;

import java.sql.Time;
import java.sql.Timestamp;

public class FlightModel {
    private int flightId;
    private String flightNumber;
    private String departureCity;
    private String arrivalCity;
    private Timestamp departureTime;
    private Timestamp arrivalTime;
    private Time flightDuration;
    private String aircraftPhotoUrl;
    private String pilotName;
    private String crewNames;
    private boolean isInternational;

    // Getters and Setters
    public int getFlightId() {
        return flightId;
    }

    public void setFlightId(int flightId) {
        this.flightId = flightId;
    }

    public String getFlightNumber() {
        return flightNumber;
    }

    public void setFlightNumber(String flightNumber) {
        this.flightNumber = flightNumber;
    }

    public String getDepartureCity() {
        return departureCity;
    }

    public void setDepartureCity(String departureCity) {
        this.departureCity = departureCity;
    }

    public String getArrivalCity() {
        return arrivalCity;
    }

    public void setArrivalCity(String arrivalCity) {
        this.arrivalCity = arrivalCity;
    }

    public Timestamp getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(Timestamp departureTime) {
        this.departureTime = departureTime;
    }

    public Timestamp getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(Timestamp arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public Time getFlightDuration() {
        return flightDuration;
    }

    public void setFlightDuration(Time flightDuration) {
        this.flightDuration = flightDuration;
    }

    public String getAircraftPhotoUrl() {
        return aircraftPhotoUrl;
    }

    public void setAircraftPhotoUrl(String aircraftPhotoUrl) {
        this.aircraftPhotoUrl = aircraftPhotoUrl;
    }

    public String getPilotName() {
        return pilotName;
    }

    public void setPilotName(String pilotName) {
        this.pilotName = pilotName;
    }

    public String getCrewNames() {
        return crewNames;
    }

    public void setCrewNames(String crewNames) {
        this.crewNames = crewNames;
    }

    public boolean isInternational() {
        return isInternational;
    }

    public void setInternational(boolean international) {
        isInternational = international;
    }
} 